package com.bjut.domain;

import java.io.Serializable;
import java.util.Date;

import org.apache.struts.action.ActionForm;


public class User  extends ActionForm implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id=1;
	private String username="";
	private String password="888888";
	private int type=0;
	private Date createtime=new Date();
	private String mark="";
	public User(){
		
	}
	public User(String username, String password, int type,String mark) {
		super();
		this.mark = mark;
		this.password = password;
		this.type = type;
		this.username = username;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	public String getMark() {
		return mark;
	}
	public void setMark(String mark) {
		this.mark = mark;
	}
	
	
}
